package com.lmx.repoDomain.tmodel;

import io.katharsis.resource.annotations.JsonApiResource;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 号码池
 */
@Entity
@Table(name = "ccd_ims")
@JsonApiResource(type = "imsPool")
public class ImsPool extends BaseEntity {
	private String code; // 编码
	private String ims;//号码
	private String imsKey;//秘钥
	private String imsPasswd;//密码
	private Short statusIms;//华为号码状态  0 空闲   1  在用   2 预删除
	private Short status;// 0 可用  1 已被使用
	private Short isBuy;// 0 未订购套餐   1 已订购套餐
	private String remark;//备注

	@Column(name = "code")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "ims")
	public String getIms() {
		return ims;
	}

	public void setIms(String ims) {
		this.ims = ims;
	}

	@Column(name = "ims_key")
	public String getImsKey() {
		return imsKey;
	}

	public void setImsKey(String imsKey) {
		this.imsKey = imsKey;
	}




	@Column(name = "ims_passwd")
	public String getImsPasswd() {
		return imsPasswd;
	}

	public void setImsPasswd(String imsPasswd) {
		this.imsPasswd = imsPasswd;
	}

	@Column(name = "status_ims")
	public Short getStatusIms() {
		return statusIms;
	}

	public void setStatusIms(Short statusIms) {
		this.statusIms = statusIms;
	}

	@Column(name = "status")
	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	@Column(name = "is_buy")
	public Short getIsBuy() {
		return isBuy;
	}

	public void setIsBuy(Short isBuy) {
		this.isBuy = isBuy;
	}

	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
